<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>班级管理</title>
	<link rel="stylesheet" href="../static/easyui/themes/bootstrap/easyui.css">
	<link rel="stylesheet" href="../static/easyui/themes/icon.css">
	<link rel="stylesheet" href="../static/custom.css">
	<script type="text/javascript" src="../static/easyui/jquery.min.js"></script>
	<script type="text/javascript" src="../static/easyui/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="../static/easyui/locale/easyui-lang-zh_CN.js"></script>
	<script type="text/javascript" src="../static/custom.js"></script>
</head>
<body>
		<table id="aab" class="easyui-datagrid" data-options="
			title:'班级列表',
			idField:'id',
			url:'banji/page',
			fit:true,
			fitColumns:true,
			singleSelect:true,
			rownumbers:true,
			pagination:true,
			pageSize:10,
			sortName:'id',
			pageList:[10,25,50,100],
			dialog:{
				create:{
					title: '新增班级' ,
					width: 400 ,
					height: 300 ,
					action: 'banji/save',
					href: 'banji/edit'
				},
				update:{
					title: '编辑班级' ,
					width: 400 ,
					height: 300 ,
					action: 'banji/save',
					href : 'banji/edit'
				},
				search:{
					title: '班级筛选' ,
					width: 400 ,
					height: 300 ,
					href: 'banji/search'
				},
				remove:{
					href:'banji/delete'
				}
			},
			toolbar:[$.crudgrid.buttons.create , '-' , $.crudgrid.buttons.update ,'-',$.crudgrid.buttons.remove ,'-',$.crudgrid.buttons.search,'-',$.crudgrid.buttons.refresh,'-']
		">
			<thead>
				<tr>
					<th data-options="checkbox:true,field:''">aa</th>
					<th data-options="field:'id',width:100,sortable:true,hidden:true">ID</th>
					<th data-options="field:'parentName',width:100">所属部门</th>
					<th data-options="field:'name',width:100,sortable:true">班级名称</th>
					<th data-options="field:'manager',width:100">班主任</th>
				</tr>
			</thead>
		</table>
</body>
</html>